//
//  DetailListCell1.m
//  翼安保
//
//  Created by duzhi on 2024/4/23.
//

#import "DetailListCell1.h"

@interface DetailListCell1()
@property (strong, nonatomic) UILabel *tipL;
@end

@implementation DetailListCell1

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self creatUI];
    }
    return self;
}

- (void)creatUI {
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    
    UILabel *tipL = [UILabel new];
    tipL.font = [UIFont boldSystemFontOfSize:relativeWidth(17)];
    tipL.textColor = [UIColor blackColor];
    [self.contentView addSubview:tipL];
    [tipL mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.mas_equalTo(0);
        make.left.mas_equalTo(relativeWidth(10));
    }];
    self.tipL = tipL;
}

- (void)setDesc:(NSString *)desc {
    self.tipL.text = desc;
}
@end
